function C = collectionView(Q, collection_id)

%Presents all the data related to a Project identified by the project if


%Romesh Stanislaus May 2010

if isnumeric(collection_id)
    collection_id = num2str(collection_id);
end

S1 = ['<S3QL><select>*</select><from>collections</from><where>',...
    '<collection_id>',collection_id,'</collection_id></where></S3QL>'];

Q.X = S1;

[D1,Q]=s3db_read(Q); % -2
%D1 will be a struct which has among other item_id wich can be referenced
%by D1(1).item_id
pause(5);
C = D1;